import random
number = random.random()
guess = int(input("请输入您的数:"))
count = 0
if (guess > number)
print("您猜的数字大了，请重新输入")
count++
else if (guess < number)
print("你猜的数字小了，请重新输入")
count++
else
print("恭喜你猜对了")
count++
print("你猜的次数是{}：format(count));
if (count <= 3)
print("你是师傅");
else if (count < 6)
print("你是沙僧");
}else{
print("你是悟空");
break;
}

}
}
}